package com.hdoit.ares.logical.cust.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      xieqixiu
 * @email       
 * @createtime  2018年03月15日 21:16:42
 * @comment
 */
@Entity
@Table(name="cust_poster")
public class CustPoster extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //海报类型
    @Column(name="posterType")
    private String posterType;

    //海报图片
    @Column(name="posterImg")
    private String posterImg;

    //海报描述
    @Column(name="descript")
    private String descript;

    //创建时间
    @Column(name="createDate")
    private Date createDate;

    //删除标识
    @Column(name="deleteMark")
    private String deleteMark;

    //产品链接
    @Transient
    private String posterUrl;
    
    public String getPosterUrl() {
		return posterUrl;
	}

	public void setPosterUrl(String posterUrl) {
		this.posterUrl = posterUrl;
	}

	public CustPoster(){
    	
    }
    
    public CustPoster(String posterType){
    	this.posterType = posterType;
    }
    
    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getPosterType(){
        return this.posterType;
    }
    public void setPosterType(String posterType){
         this.posterType=posterType;
    }

    public String getPosterImg(){
        return this.posterImg;
    }
    public void setPosterImg(String posterImg){
         this.posterImg=posterImg;
    }

    public String getDescript(){
        return this.descript;
    }
    public void setDescript(String descript){
         this.descript=descript;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }

}